<body bgcolor=ffffff>

<table width=100%>
  <tr>
    <td width=10>&nbsp;</td>

    <td>
      <table width=100%>
        <tr>
          <td>
            <h4>
            <%company%>
        <br><%address%>
            </h4>
          </td>

          <th><img src=sql-ledger.png border=0 width=84 height=58></th>

          <td align=right>
            <h4>
            Tel: <%tel%>
        <br>Fax: <%fax%>
            </h4>
          </td>
        </tr>

        <tr>
          <th colspan=3>
	    <hr noshade><br>
            <h4>T I M E &nbsp;&nbsp; C A R D</h4>
          </th>
        </tr>
      </table>
    </td>
  </tr>

  <tr>
    <td>&nbsp;</td>

    <td>
      <table width=100% callspacing=0 cellpadding=0>
        <tr valign=top>
	  <td>
	    <table>
	      <tr>
		<th align=left>Employee</th>
		<td><%employee%></td>
	      </tr>
	      <tr>
		<th align=left>ID</th>
		<td><%employee_id%></td>
	      </tr>
	    </table>
	  </td>
   
	  <td align=right>
	    <table>
	      <tr>
		<th align=left nowrap>Card ID</th>
		<td><%id%></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Date Worked</th>
		<td><%transdate%></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Time In</th>
		<td><%checkedin%></td>
	      </tr>
              <tr>
                <th align=left>Time Out</th>
		<td><%checkedout%></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Hours Worked</th>
		<td><%qty%></td>
	      </tr>
	    </table>
	  </td>
        </tr>
      </table>
    </td>
  </tr>

  <tr height=5></tr>
  
  <tr>
    <td>&nbsp;</td>
  
    <td>
      <table width=100%>
        <tr valign=bottom>
	  <td>
	    <table>
	      <tr valign=top>
	        <th align=left>Project/Job #</th>
		<td><%projectnumber%></td>
	      </tr>
	      <tr>
	        <th align=left>Description</th>
		<td><%projectdescription%></td>
	      </tr>
	      <tr valign=top>
	        <th align=left>Labor/Service Code</th>
		<td><%partnumber%></td>
	      </tr>
	      <tr>
	        <th align=left>Description</th>
		<td><%description%></td>
	      </tr>
	    </table>
	  </td>
	  <td align=right>
	    <table>
	      <tr>
	        <th align=right>Unit Rate</th>
		<td><%sellprice%></td>
	      </tr>
	      <tr>
		<th align=right>Total</th>
		<td><%total%></td>
	      </tr>
	    </table>
	  </td>
	</tr>
      </table>
    </td>
  </tr>

<%if notes%>
  <tr height=5></tr>
  
  <tr>
    <td>&nbsp;</td>

    <td>
      <%notes%>
    </td>
  </tr>
<%end notes%>

</table>

</body>
</html>

